﻿UIKit = BaseClass()
UIKit.Instance = nil
function UIKit:__init()
    UIKit.Instance = self
end

function UIKit:OpenUICS(UIName, behaviour, openUIParam, ...)
    XLuaWrapper.UIKitOpenUI(UIName, behaviour, openUIParam, ...)
end

--string UIName, XBehaviour behaviour, OpenUIParam openUIParam, params object[] args
function UIKit:OpenUI(UIName, openUIParam, ...)
    self:OpenUICS(UIName, MonoUI2Lua(), openUIParam, ...)
end

function UIKit:Close(UIName)

end